pkgname=device-htc-bravo
pkgver=1
pkgrel=4
pkgdesc="HTC Desire"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-htc-bravo mkbootimg"
makedepends=""
install=""
subpackages=""
source="
	deviceinfo
	initfs-hook.sh
	90-android-touch-dev.rules
"
options="!check"

build() {
	return 0
}

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -D -m644 "$srcdir"/initfs-hook.sh \
		"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}

sha512sums="15d8a94edcd5bf2835cc1f772cb23c4f7c51792b8084690f18cf5a13f5e8e1d9f91fd4a984fe40ba50f976b3982e87961bde45ee0138dc06dc94ba994eff94b5  deviceinfo
3ce2d134aa59677e25a160b5985c552fbf048b237169bbeb85e2b8824f734627064b51c097036db10eee0254064d45d804d17372dffcd1ba246938968fe1e225  initfs-hook.sh
24c8e20cca7d9cff33fe6bac641d0dd4a15d011dd0dbbf1cb1309b11574e6ae7945f4e719646def1a5ba6e8f9607605fcea4a572aa71deb6aaff8498b722cb9d  90-android-touch-dev.rules"
